function setupKeyboardEvent (self, option) {
  const { $scope } = self;

  window.onkeydown = function(ev) {
    if ($scope.introState < 4) {
    } else if (self.$camera.introTime >= self.$camera.introLength + 16) {
      if (ev.keyCode === 38) {
        $scope.moveCameraUp();
      } else if (ev.keyCode === 40) {
        $scope.moveCameraDown();
      }
    }
  };

  window.onkeyup = function(ev) {
    if (self.$camera.introTime >= self.$camera.introLength + 16) {
      if (ev.keyCode === 38 || ev.keyCode === 40) {
        $scope.stopCameraMotion();
      }
    }
  };

}
